//Lab #12 B //from Maksim Ivanenko //for IT 340 //due by 06/08/01 #include #include void main() { float price=0; //to declare & initialize variables short count=0; float accum=0; float average=0; cout<<"**********************************************"<>price; //to get first data from file while (!infile.eof()) //to get all data available in file { cout<>price; //to read another value accum=accum+price; //accumulator count=count+1; //counter } //end of file reached infile.close(); //to close file cout<